import { ref } from "vue";

export default function useExceptionDetail() {
  const nowDetail = ref({})
  const detailVisible = ref(false)

  const showDetail = (record) => {
    console.log(record, 'record');

    nowDetail.value = record;
    detailVisible.value = true
  }

  return {
    nowDetail,
    detailVisible,
    showDetail
  }
}
